//
//  KKBuyVideoCell.m
//  DoMi
//
//  Created by 康凯 on 2016/11/17.
//  Copyright © 2016年 kk. All rights reserved.
//

#import "KKBuyVideoCell.h"

@implementation KKBuyVideoCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)initData:(KKCollectVideoM *)data{
    [self.avatar sd_setImageWithURL:[NSURL URLWithString:data.cover] placeholderImage:[UIImage imageNamed:@"default_avater"]];
    self.title.text=data.videoname;
//    self.speaker.text=data.;
    self.desc.text=data.videodesc;
    self.collect.text=[NSString stringWithFormat:@"%@次收藏",data.collectcoun];
    self.browse.text=[NSString stringWithFormat:@"%@次浏览",data.browser];
}

@end
